package com.wx.tnsadmin.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;



/**
 * @Author:LLH
 * @Date:2020/8/10
 */

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class UmsAdminModel implements Serializable{

    @ApiModelProperty(value = "用户ID")
    private String id;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "创建时间")
    private Date create_time;

    @ApiModelProperty(value = "登录时间")
    private Date login_time;

    @ApiModelProperty(value = "上次登录时间")
    private Date last_login_time;

    @ApiModelProperty(value = "用户状态")
    private Integer admin_status;

    @ApiModelProperty(value = "用户备注")
    private String admin_remark;

    @ApiModelProperty(value = "当前页")
    private Integer pageNum;

    @ApiModelProperty(value = "每页数量")
    private Integer pageSize;





}
